package com.devunion.reader.client.to;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

import java.io.Serializable;

/**
 * @author Aliaksandr Tsimashenka 16.03.2010 : 1:29:14
 */
public class RegistrationFormTo extends BaseTreeModel
        implements Serializable {
    private static final String USERNAME = "username";
    private static final String PASSWORD = "password";

    public String getUsername() {
        return get(USERNAME);
    }

    public void setUsername(String username) {
        set(USERNAME, username);
    }

    public String getPassword() {
        return get(PASSWORD);
    }

    public void setPassword(String password) {
        set(PASSWORD, password);
    }
}